Part Number Hot Search : 
C1203 SFH3211 B90M6 MOC205 092315 HC353F1R EPZ3002G 368011
Product Description
Full Text Search
 

To Download R5F21334GJFP11 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  r01ds0091ej0100 rev.1.00 page 1 of 54 jul. 05, 2011 r8c/33g group, r8c/33h group renesas mcu datasheet 1. overview 1.1 features the r8c/33g group, r8c/33h group of single-chip mcus incorporates the r8c cpu core, employing sophisticated instructions for a high level of efficiency. with 1 mbyte of address space, and it is capable of executing instructions at high speed. in addition, the cpu core boasts a multiplier for high-speed operation processing. power consumption is low, and the supported operating modes allow additional power control. these mcus are designed to maximize emi/ems performance. integration of many peripheral functions, including multifun ction timer and serial inte rface, reduces the number of system components. the r8c/33g group has data flash (1 kb 4 blocks ) with the background operation (bgo) function. 1.1.1 applications automobiles and others r01ds0091ej0100 rev.1.00 jul. 05, 2011
r8c/33g group, r8c/ 33h group 1. overview r01ds0091ej0100 rev.1.00 page 2 of 54 jul. 05, 2011 1.1.2 specifications tables 1.1 and 1.2 outline the specifications for r8c/33g group. tables 1.3 and 1.4 outline the specifications for r8c/33h group. note: 1. timer rd in these products does not support full-spec emulators. use the on-chip debugging emulator for debugging. table 1.1 specifications for r8c/33g group (1) item function specification cpu central processing unit r8c cpu core ? number of fundamental instructions: 89 ? minimum instruction execution time: 50 ns (f(xin) = 20 mhz, vcc = 2.7 to 5.5 v) ? multiplier: 16 bits 16 bits 32 bits ? multiply-accumulate instruction: 16 bits 16 bits + 32 bits 32 bits ? operation mode: single-chip mode (address space: 1 mbyte) memory rom, ram, data flash refer to table 1.5 product list for r8c/33g group . power supply voltage detection voltage detection circuit ? power-on reset ? voltage detection 3 (detection level of voltage detection 1 selectable) i/o ports programmable i/o ports ? input-only: 1 pin ? cmos i/o ports: 27, selectable pull-up resistor clock clock generation circuits 3 circuits: xin clock oscillation circuit, high-speed on-chip oscillator (with frequency adjustment function), low-speed on-chip oscillator ? oscillation stop detection: xin clock oscillation stop detection function ? frequency divider circuit: dividing selectable 1, 2, 4, 8, and 16 ? low power consumption modes: standard operating mode (high-speed clock, high-speed on-chip oscillator, low-speed on-chip oscillato r), wait mode, stop mode interrupts ? number of interrupt vectors: 69 ? external interrupt: 7 (int 3, key input 4) ? priority levels: 7 levels watchdog timer ? 14 bits 1 (with prescaler) ? reset start selectable ? low-speed on-chip oscillator for watchdog timer selectable dtc (data transfer controller) ? 1 channel ? activation sources: 28 ? transfer modes: 2 (normal mode, repeat mode) timer timer ra 8 bits 1 (with 8-bit prescaler) timer mode (period timer), pulse output mode (output level inverted every period), event counter mode, pulse wi dth measurement mode, pulse period measurement mode timer rb 8 bits 1 (with 8-bit prescaler) timer mode (period timer), programmable waveform generation mode (pwm output), programmable one-shot gene ration mode, programmable wait one- shot generation mode timer rc 16 bits 1 (with 4 capture/compare registers) timer mode (input capture function, output compare function), pwm mode (output 3 pins), pwm2 mode (pwm output pin) timer rd (1) 16 bits 2 (with 4 capture/compare registers) timer mode (input capture function, output compare function), pwm mode (output 6 pins), reset synchronous pwm mode (output three-phase waveforms (6 pins), sawtooth wave modulation), complementary pwm mode (output three-phase waveforms (6 pins), triangular wave modulation), pwm3 mode (pwm output 2 pins with fixed period)
r8c/33g group, r8c/ 33h group 1. overview r01ds0091ej0100 rev.1.00 page 3 of 54 jul. 05, 2011 note: 1. specify the k version if k version functions are to be used. table 1.2 specifications for r8c/33g group (2) item function specification serial interface uart0 1 channel clock synchronous serial i/o/uart uart2 1 channel clock synchronous serial i/o/uart, i 2 c mode (i 2 c-bus), ie mode (iebus), multiprocessor communication function synchronous serial communication unit (ssu) 1 channel lin module hardware lin: 1 (timer ra, uart0) a/d converter 10-bit resolution 12 channels, includes sample and hold function, with sweep mode d/a converter 8-bit resolution 2 circuits comparator b 2 circuits flash memory ? programming and eras ure voltage: vcc = 2.7 to 5.5 v ? programming and erasure endur ance: 10,000 times (data flash) 1,000 times (program rom) ? program security: rom code protect, id code check ? debug functions: on-chip debug, on-board flash rewrite function ? background operation (bgo) function operating frequency/supply voltage f(xin) = 20 mhz (vcc = 2.7 to 5.5 v) current consumption typ. 7 ma (v cc = 5.0 v, f(xin) = 20 mhz) operating ambient temperature -40 to 85 c (j version) -80 to 125 c (k version) (1) package 32-pin lqfp package code: plqp0032gb-a (previous code: 32p6u-a)
r8c/33g group, r8c/ 33h group 1. overview r01ds0091ej0100 rev.1.00 page 4 of 54 jul. 05, 2011 note: 1. timer rd in these products does not support full-spec emulators. use the on-chip debugging emulator for debugging. table 1.3 specifications for r8c/33h group (1) item function specification cpu central processing unit r8c cpu core ? number of fundamental instructions: 89 ? minimum instruction execution time: 50 ns (f(xin) = 20 mhz, vcc = 2.7 to 5.5 v) ? multiplier: 16 bits 16 bits 32 bits ? multiply-accumulate instruction: 16 bits 16 bits + 32 bits 32 bits ? operation mode: single-chip mode (address space: 1 mbyte) memory rom, ram refer to table 1.6 product list for r8c/33h group . power supply voltage detection voltage detection circuit ? power-on reset ? voltage detection 3 (detection level of voltage detection 1 selectable) i/o ports programmable i/o ports ? input-only: 1 pin ? cmos i/o ports: 27, selectable pull-up resistor clock clock generation circuits 3 circuits: xin clock oscillation circuit, high-speed on-chip oscillator (with frequency adjustment function), low-speed on-chip oscillator ? oscillation stop detection: xin clock oscillation stop detection function ? frequency divider circuit: dividing selectable 1, 2, 4, 8, and 16 ? low power consumption modes: standard operating mode (high-speed clock, high-speed on-chip oscillator, low-speed on-chip oscillato r), wait mode, stop mode interrupts ? number of interrupt vectors: 69 ? external interrupt: 7 (int 3, key input 4) ? priority levels: 7 levels watchdog timer ? 14 bits 1 (with prescaler) ? reset start selectable ? low-speed on-chip oscillator for watchdog timer selectable dtc (data transfer controller) ? 1 channel ? activation sources: 28 ? transfer modes: 2 (normal mode, repeat mode) timer timer ra 8 bits 1 (with 8-bit prescaler) timer mode (period timer), pulse output mode (output level inverted every period), event counter mode, pulse wi dth measurement mode, pulse period measurement mode timer rb 8 bits 1 (with 8-bit prescaler) timer mode (period timer), programmable waveform generation mode (pwm output), programmable one-shot gene ration mode, programmable wait one- shot generation mode timer rc 16 bits 1 (with 4 capture/compare registers) timer mode (input capture function, output compare function), pwm mode (output 3 pins), pwm2 mode (pwm output pin) timer rd (1) 16 bits 2 (with 4 capture/compare registers) timer mode (input capture function, output compare function), pwm mode (output 6 pins), reset synchronous pwm mode (output three-phase waveforms (6 pins), sawtooth wave modulation), complementary pwm mode (output three-phase waveforms (6 pins), triangular wave modulation), pwm3 mode (pwm output 2 pins with fixed period)
r8c/33g group, r8c/ 33h group 1. overview r01ds0091ej0100 rev.1.00 page 5 of 54 jul. 05, 2011 note: 1. specify the k version if k version functions are to be used. table 1.4 specifications for r8c/33h group (2) item function specification serial interface uart0 1 channel clock synchronous serial i/o/uart uart2 1 channel clock synchronous serial i/o/uart, i 2 c mode (i 2 c-bus), ie mode (iebus), multiprocessor communication function synchronous serial communication unit (ssu) 1 channel lin module hardware lin: 1 (timer ra, uart0) a/d converter 10-bit resolution 12 channels, includes sample and hold function, with sweep mode d/a converter 8-bit resolution 2 circuits comparator b 2 circuits flash memory ? programming and eras ure voltage: vcc = 2.7 to 5.5 v ? programming and erasure endur ance: 100 times (program rom) ? program security: rom code protect, id code check ? debug functions: on-chip debug, on-board flash rewrite function operating frequency/supply voltage f(xin) = 20 mhz (vcc = 2.7 to 5.5 v) current consumption typ. 7 ma (v cc = 5.0 v, f(xin) = 20 mhz) operating ambient temperature -40 to 85 c (j version) -80 to 125 c (k version) (1) package 32-pin lqfp package code: plqp0032gb-a (previous code: 32p6u-a)
r8c/33g group, r8c/ 33h group 1. overview r01ds0091ej0100 rev.1.00 page 6 of 54 jul. 05, 2011 1.2 product list table 1.5 lists product list for r8c/33g group and figure 1.1 shows a part number, memory size, and package of r8c/33g group. table 1.6 lists product list for r8c/33 h group and figure 1.2 shows a part number, memory size, and package of r8c/33h group. figure 1.1 part number, memory size, and package of r8c/33g group table 1.5 product list for r8c/33g group current of jul 2011 part no. rom capacity ram capacity package type remarks program rom data flash r5f21334gjfp 16 kbytes 1 kbyte 4 1.5 kbytes plqp0032gb-a j version r5f21336gjfp 32 kbytes 1 kbyte 4 2.5 kbytes plqp0032gb-a r5f21334gkfp 16 kbytes 1 kbyte 4 1.5 kbytes plqp0032gb-a k version r5f21336gkfp 32 kbytes 1 kbyte 4 2.5 kbytes plqp0032gb-a part no. r 5 f 21 33 6 g j fp package type: fp: plqp0032gb-a (0.8 mm pin-pitch, 7 mm square body) data flash g: data flash h: none classification j: operating ambient temperature -40c to 85c k: operating ambient temperature -40c to 125c rom capacity 4: 16 kb 6: 32 kb r8c/33g group r8c/3x series memory type f: flash memory renesas mcu renesas semiconductor
r8c/33g group, r8c/ 33h group 1. overview r01ds0091ej0100 rev.1.00 page 7 of 54 jul. 05, 2011 figure 1.2 part number, memory size, and package of r8c/33h group table 1.6 product list for r8c/33h group current of jul 2011 part no. rom capacity ram capacity package type remarks program rom data flash r5f21334hjfp 16 kbytes 1 kbyte 4 1.5 kbytes plqp0032gb-a j version r5f21336hjfp 32 kbytes 1 kbyte 4 2.5 kbytes plqp0032gb-a r5f21334hkfp 16 kbytes 1 kbyte 4 1.5 kbytes plqp0032gb-a k version r5f21336hkfp 32 kbytes 1 kbyte 4 2.5 kbytes plqp0032gb-a part no. r 5 f 21 33 6 h j fp package type: fp: plqp0032gb-a (0.8 mm pin-pitch, 7 mm square body) data flash g: data flash h: none classification j: operating ambient temperature -40c to 85c k: operating ambient temperature -40c to 125c rom capacity 4: 16 kb 6: 32 kb r8c/33h group r8c/3x series memory type f: flash memory renesas mcu renesas semiconductor
r8c/33g group, r8c/ 33h group 1. overview r01ds0091ej0100 rev.1.00 page 8 of 54 jul. 05, 2011 1.3 block diagram figure 1.2 shows a block diagram. figure 1.3 block diagram d/a converter (8 bits 2) r8c cpu core system clock generation circuit xin-xout high-speed on-chip osc illator low-speed on-chip oscillator memory rom (1) ram (2) multiplier r0h r0l r1h r2 r3 r1l a0 a1 fb sb usp isp intb pc flg i/o ports notes: 1. rom size varies with mcu type. 2. ram size varies with mcu type. 8 port p1 6 port p3 3 1 port p4 8 port p0 2 port p5 timers timer ra (8 bits 1) timer rb (8 bits 1) timer rc (16 bits 1) timer rd (16 bits 2) uart or clock synchronous serial i/o (8 bits 2 channels) synchronous serial communication unit (ssu) (8 bits 1 channel) peripheral functions watchdog timer (14 bits) a/d converter (10 bits 12 channels) lin module comparator b voltage detection circuit dtc
r8c/33g group, r8c/ 33h group 1. overview r01ds0091ej0100 rev.1.00 page 9 of 54 jul. 05, 2011 1.4 pin assignment figure 1.4 shows the pin assignment (top view). table 1.7 outline the pin name information by pin number. figure 1.4 pin assignment (top view) r8c/33g group r8c/33h group plqp0032gb-a (32p6u-a) (top view) p4_6/xin p4_7/xout vss/avss reset vcc/avcc mode p3_7/sso(/trao/rxd2/scl2/txd2/sda2/trdioc0) p4_5/adtrg/int0(/rxd2/scl2) p1_7/ivcmp1/int1(/traio) p3_6(/int1/rxd2/scl2/txd2/sda2) p3_5/ssck(/clk2/trciod/trdioa0/trdclk) p1_0/an8/kl0(/trdioa1) p1_4/txd0 p4_2/vref p1_3/an11/kl3/trbo(/trdiod1) p3_3/ivcmp3/int3/(ssi)/cts2/rts2(/trcclk/trdiod0) p1_1/an9/kl1/(trcioa/trctrg/trdiob1) p1_2/an10/kl2(/trciob/trdioc1) p0_3/an4 p0_2/an5 p0_1/an6 p0_0/an7(/txd2/sda2) p0_7/an0/da1 p0_6/an1/da0 p0_5/an2(/clk2) p1_5(/int1)/rxd0(/traio) p1_6/ivref1(/ssi)/clk0 p5_3(/trcioc) p5_4(/trciod) p3_1(/trbo) p3_4/ivref3/scs(/trcioc)/trdiob0 p0_4/an3 notes: 1. can be assigned to the pin in parentheses by a program. 2. confirm the pin 1 position on the package by referring to the package dimensions. 29 28 27 26 25 32 31 30 9 10 11 12 13 14 15 16 24 23 22 21 20 19 18 17 578 1234 6
r8c/33g group, r8c/ 33h group 1. overview r01ds0091ej0100 rev.1.00 page 10 of 54 jul. 05, 2011 note: 1. can be assigned to the pin in parentheses by a program. table 1.7 pin name information by pin number pin number control pin port i/o pin functions for peripheral modules interrupt timer serial interface ssu a/d converter, d/a converter, comparator b 1 p3_5 (trciod/ trdioa0/ trdclk) (clk2) ssck 2 p3_7 (trao/trdioc0) (rxd2/scl2/ txd2/sda2) sso 3 reset 4xoutp4_7 5 vss/avss 6xinp4_6 7 vcc/avcc 8 mode 9p4_5 int0 (rxd2/scl2) adtrg 10 p1_7 int1 (traio) ivcmp1 11 p3_6 (int1 ) (rxd2/scl2/ txd2/sda2) 12 p3_1 (trbo) 13 p5_4 (trciod) 14 p5_3 (trcioc) 15 p1_6 clk0 (ssi) ivref1 16 p1_5 (int1 ) (traio) rxd0 17 p1_4 txd0 18 p1_3 ki3 trbo(/trdiod1) an11 19 p1_2 ki2 (trciob/ trdioc1) an10 20 p4_2 vref 21 p1_1 ki1 (trcioa/ trctrg/ trdiob1) an9 22 p1_0 ki0 (trdioa1) an8 23 p3_3 int3 (trcclk/ trdiod0) cts2 /rts2 (ssi) ivcmp3 24 p3_4 (trcioc/ trdiob0) scs ivref3 25 p0_7 an0/da1 26 p0_6 an1/da0 27 p0_5 (clk2) an2 28 p0_4 an3 29 p0_3 an4 30 p0_2 an5 31 p0_1 an6 32 p0_0 (txd2/sda2) an7
r8c/33g group, r8c/ 33h group 1. overview r01ds0091ej0100 rev.1.00 page 11 of 54 jul. 05, 2011 1.5 pin functions tables 1.8 and 1.9 list pin functions. i: input o: output i/o: input and output note: 1. refer to the oscillator manufacturer for oscillation characteristics. table 1.8 pin functions (1) item pin name i/o type description power supply input vcc, vss ? apply 2.7 v to 5.5 v to the vcc pin. apply 0 v to the vss pin. analog power supply input avcc, avss ? power supply for the a/d converter. connect a capacitor between avcc and avss. reset input reset i input ?l? on this pin resets the mcu. mode mode i connect this pin to vcc via a resistor. xin clock input xin i these pins are provid ed for xin clock generation circuit i/o. connect a ceramic resonator or a crystal oscillator between the xin and xout pins (1) . to use an external clock, input it to the xout pin and leave the xin pin open. xin clock output xout i/o int interrupt input int0 to int1 , int3 iint interrupt input pins. key input interrupt ki0 to ki3 i key input interrupt input pins timer ra traio i/o timer ra i/o pin trao o timer ra output pin timer rb trbo o timer rb output pin timer rc trcclk i external clock input pin trctrg i external trigger input pin trcioa, trciob, trcioc, trciod i/o timer rc i/o pins timer rd trdioa0, trdioa1, trdiob0, trdiob1, trdioc0, trdioc1, trdiod0, trdiod1 i/o timer rd i/o pins trdclk i external clock input pin serial interface clk0, clk2 i/o transfer clock i/o pins rxd0, rxd2 i serial data input pins txd0, txd2 o serial data output pins cts2 i transmission control input pin rts2 o reception control output pin scl2 i/o i 2 c mode clock i/o pin sda2 i/o i 2 c mode data i/o pin synchronous serial communication unit (ssu) ssi i/o data i/o pin scs i/o chip-select signal i/o pin ssck i/o clock i/o pin sso i/o data i/o pin
r8c/33g group, r8c/ 33h group 1. overview r01ds0091ej0100 rev.1.00 page 12 of 54 jul. 05, 2011 i: input o: output i/o: input and output table 1.9 pin functions (2) item pin name i/o type description reference voltage input vref i reference voltage input pin to a/d converter and d/a converter a/d converter an0 to an11 i analog input pins to a/d converter adtrg i a/d external trigger input pin d/a converter da0, da1 o d/a converter output pins comparator b ivcmp1, ivcmp3 i comparator b analog voltage input pins ivref1, ivref3 i comparator b reference voltage input pins i/o port p0_0 to p0_7, p1_0 to p1_7, p3_1, p3_3 to p3_7, p4_5 to p4_7, p5_3, p5_4 i/o cmos i/o ports. each port has an i/o select direction register, allowing each pin in the port to be directed for input or output individually. any port set to input can be set to use a pull-up resistor or not by a program. input port p4_2 i input-only port
r8c/33g group, r8c/33h group 2. central processing unit (cpu) r01ds0091ej0100 rev.1.00 page 13 of 54 jul. 05, 2011 2. central processi ng unit (cpu) figure 2.1 shows the cpu registers. the cpu contains 13 registers. r0, r1, r2, r3, a0, a1, and fb configure a register bank. there are two sets of register bank. figure 2.1 cpu registers r2 b31 b15 b8b7 b0 data registers (1) address registers (1) r3 r0h (high-order of r0) r2 r3 a0 a1 intbh b15 b19 b0 intbl fb frame base register (1) the 4 high order bits of intb are intbh and the 16 low order bits of intb are intbl. interrupt table register b19 b0 usp program counter isp sb user stack pointer interrupt stack pointer static base register pc flg flag register carry flag debug flag zero flag sign flag register bank select flag overflow flag interrupt enable flag stack pointer select flag reserved bit processor interrupt priority level reserved bit c ipl d z s b o i u b15 b0 b15 b0 b15 b0 b8 b7 note: 1. these registers comprise a regist er bank. there are two register banks. r1h (high-order of r1) r0l (low-order of r0) r1l (low-order of r1)
r8c/33g group, r8c/33h group 2. central processing unit (cpu) r01ds0091ej0100 rev.1.00 page 14 of 54 jul. 05, 2011 2.1 data registers (r 0, r1, r2, and r3) r0 is a 16-bit register for transfer, ar ithmetic, and logic operations. the same applies to r1 to r3. r0 can be split into high-order bits (r0h) and low-order bits (r0l) to be used separately as 8-bit data registers. r1h and r1l are analogous to r0h and r0l. r2 can be combined with r0 and used as a 32-bit data register (r2r0). r3r1 is analogous to r2r0. 2.2 address registers (a0 and a1) a0 is a 16-bit register for address register indirect addr essing and address register relative addressing. it is also used for transfer, arithmetic, and logic operations. a1 is an alogous to a0. a1 can be comb ined with a0 and as a 32- bit address register (a1a0). 2.3 frame base register (fb) fb is a 16-bit register for fb relative addressing. 2.4 interrupt table register (intb) intb is a 20-bit register that indicates the starti ng address of an interrupt vector table. 2.5 program counter (pc) pc is 20 bits wide and indicates the addres s of the next instruction to be executed. 2.6 user stack pointer (usp) a nd interrupt stack pointer (isp) the stack pointers (sp), usp and isp, are each 16 bits wide. the u flag of flg is used to switch between usp and isp. 2.7 static base register (sb) sb is a 16-bit register for sb relative addressing. 2.8 flag register (flg) flg is an 11-bit register indicating the cpu state. 2.8.1 carry flag (c) the c flag retains carry, borrow, or shift-out bits that have been generated by the arithmetic and logic unit. 2.8.2 debug flag (d) the d flag is for debugging only. set it to 0. 2.8.3 zero flag (z) the z flag is set to 1 when an arithmetic operation results in 0; otherwise to 0. 2.8.4 sign flag (s) the s flag is set to 1 when an arithmetic operation results in a negative value; otherwise to 0. 2.8.5 register bank select flag (b) register bank 0 is selected when the b flag is 0. regi ster bank 1 is selected when this flag is set to 1. 2.8.6 overflow flag (o) the o flag is set to 1 when an operati on results in an overflow; otherwise to 0.
r8c/33g group, r8c/33h group 2. central processing unit (cpu) r01ds0091ej0100 rev.1.00 page 15 of 54 jul. 05, 2011 2.8.7 interrupt enable flag (i) the i flag enables maskable interrupts. interrupts are disabled when the i flag is set to 0, and are enabled when the i flag is set to 1. the i flag is set to 0 when an interrupt request is acknowledged. 2.8.8 stack pointer select flag (u) isp is selected when the u flag is set to 0; usp is selected when the u flag is set to 1. the u flag is set to 0 when a hardware interrupt requ est is acknowledged or the int instruction of software interrupt numbers 0 to 31 is executed. 2.8.9 processor interrupt priority level (ipl) ipl is 3 bits wide and assigns processor interr upt priority levels from level 0 to level 7. if a requested interrupt has higher priori ty than ipl, the interrupt is enabled. 2.8.10 reserved bit if necessary, set to 0. when read, the content is undefined.
r8c/33g group, r8c/33h group 3. memory r01ds0091ej0100 rev.1.00 page 16 of 54 jul. 05, 2011 3. memory 3.1 r8c/33g group figure 3.1 is a memory map of r8c/33g group. the r8 c/33g group has a 1-mbyte address space from addresses 00000h to fffffh. for example, a 32-kbyte internal rom area is allocated addresses 08000h to 0ffffh. the fixed interrupt vector table is allocated addresses 0ffdch to 0ffffh. the starting address of each interrupt routine is stored here. the internal rom (data flash) is allocated addresses 03000h to 03fffh. the internal ram is allocat ed higher addresses, beginning with address 00400h. for example, a 2.5-kbyte internal ram area is allocated addresses 00400h to 00dffh. the internal ram is used not only for data storage but also as a stack area when a subroutine is called or when an interrupt request is acknowledged. special function registers (sfrs) are allocated addres ses 00000h to 002ffh and 02c0 0h to 02fffh. peripheral function control registers are allocated here. all unallocated spaces within the sfrs are reserved and cannot be accessed by users. figure 3.1 memory map of r8c/33g group 0ffffh 0ffdch notes: 1. data flash indicates block a (1 kbyte), block b (1 kbyte), block c (1 kbyte), and block d (1 kbyte). 2. the blank areas are reserved and cannot be accessed by users. fffffh 0ffffh 0yyyyh 0xxxxh 00400h 002ffh 00000h internal rom (program rom) internal ram sfr (refer to 4. special function registers (sfrs) ) 02fffh 02c00h sfr (refer to 4. special function registers (sfrs) ) zzzzzh internal rom (program rom) 03fffh 03000h internal rom (data flash) (1) 0ffd8h reserved area undefined instruction overflow brk instruction address match single step watchdog timer, oscillation stop detection, voltage monitor address break (reserved) reset part number r5f21334gjfp, r5f21334gkfp r5f21336gjfp, r5f21336gkfp internal rom internal ram size address 0yyyyh size address 0xxxxh address zzzzzh 16 kbytes 32 kbytes 0c000h 08000h 1.5 kbytes 2.5 kbytes 009ffh 00dffh ? ?
r8c/33g group, r8c/33h group 3. memory r01ds0091ej0100 rev.1.00 page 17 of 54 jul. 05, 2011 3.2 r8c/33h group figure 3.2 is a memory map of r8c/33h group. the r8 c/33h group has a 1-mbyte address space from addresses 00000h to fffffh. the internal rom (program rom) is allocated lower addresses, beginning with address 0ffffh. for example, a 32-kbyte internal rom area is allocated addresses 08000h to 0ffffh. the fixed interrupt vector table is allocated addresses 0ffdch to 0ffffh. the starting address of each interrupt routine is stored here. the internal ram is allocat ed higher addresses, beginning with address 00400h. for example, a 2.5-kbyte internal ram area is allocated addresses 00400h to 00dffh. the internal ram is used not only for data storage but also as a stack area when a subroutine is called or when an interrupt request is acknowledged. special function registers (sfrs) are allocated addres ses 00000h to 002ffh and 02c0 0h to 02fffh. peripheral function control registers are allocated here. all unallocated spaces within the sfrs are reserved and cannot be accessed by users. figure 3.2 memory map of r8c/33h group 0ffffh 0ffdch note: 1. the blank areas are reserved and cannot be accessed by users. fffffh 0ffffh 0yyyyh 0xxxxh 00400h 002ffh 00000h internal rom (program rom) internal ram sfr (refer to 4. special function registers (sfrs) ) 02fffh 02c00h sfr (refer to 4. special function registers (sfrs) ) zzzzzh internal rom (program rom) 03000h 0ffd8h reserved area undefined instruction overflow brk instruction address match single step watchdog timer, oscillation stop detection, voltage monitor address break (reserved) reset part number r5f21334hjfp, r5f21334hkfp r5f21336hjfp, r5f21336hkfp internal rom internal ram size address 0yyyyh size address 0xxxxh address zzzzzh 16 kbytes 32 kbytes 0c000h 08000h 1.5 kbytes 2.5 kbytes 009ffh 00dffh ? ?
r8c/33g group, r8c/33h group 4. special function registers (sfrs) r01ds0091ej0100 rev.1.00 page 18 of 54 jul. 05, 2011 4. special function registers (sfrs) an sfr (special function register) is a control register for a peripheral function. tables 4.1 to 4.12 list the special function registers and table 4.13 lists the id code areas and option function select area. table 4.1 sfr information (1) (1) x: undefined notes: 1. the blank areas are reserved an d cannot be accessed by users. 2. the cwr bit in the rstfr register is set to 0 after power-on and voltage monitor 0 reset. hardware reset, software reset, or watchdog timer reset does not affect this bit. 3. the csproini bit in the ofs register is set to 0. 4. the lvdas bit in the ofs register is set to 1. 5. the lvdas bit in the ofs register is set to 0. address register symbol after reset 0000h 0001h 0002h 0003h 0004h processor mode register 0 pm0 00h 0005h processor mode register 1 pm1 00h 0006h system clock control register 0 cm0 00101000b 0007h system clock control register 1 cm1 00100000b 0008h module standby control register mstcr 00h 0009h system clock control register 3 cm3 00h 000ah protect register prcr 00h 000bh reset source determination register rstfr 0xxxxxxxb (2) 000ch oscillation stop detection register ocd 00000100b 000dh watchdog timer reset register wdtr xxh 000eh watchdog timer start register wdts xxh 000fh watchdog timer control register wdtc 00111111b 0010h 0011h 0012h 0013h 0014h 0015h high-speed on-chip oscillator control register 7 fra7 when shipping 0016h 0017h 0018h 0019h 001ah 001bh 001ch count source protection mode register cspr 00h 10000000b (3) 001dh 001eh 001fh 0020h 0021h 0022h 0023h high-speed on-chip oscillator control register 0 fra0 00h 0024h high-speed on-chip oscillator control register 1 fra1 when shipping 0025h high-speed on-chip oscillator control register 2 fra2 00h 0026h on-chip reference voltage control register ocvrefcr 00h 0027h 0028h 0029h high-speed on-chip oscillator control register 4 fra4 when shipping 002ah high-speed on-chip oscillator control register 5 fra5 when shipping 002bh high-speed on-chip oscillator control register 6 fra6 when shipping 002ch 002dh 002eh 002fh high-speed on-chip oscillator control register 3 fra3 when shipping 0030h voltage monitor circuit control register cmpa 00h 0031h voltage monitor circuit edge select register vcac 00h 0032h 0033h voltage detect register 1 vca1 00001000b 0034h voltage detect register 2 vca2 00h (4) 00100000b (5) 0035h 0036h voltage detection 1 level select register vd1ls 00000111b 0037h 0038h voltage monitor 0 circuit control register vw0c 1100x010b (4) 1100x011b (5) 0039h voltage monitor 1 circuit control register vw1c 10001010b
r8c/33g group, r8c/33h group 4. special function registers (sfrs) r01ds0091ej0100 rev.1.00 page 19 of 54 jul. 05, 2011 table 4.2 sfr information (2) (1) x: undefined note: 1. the blank areas are reserved an d cannot be accessed by users. address register symbol after reset 003ah voltage monitor 2 circuit control register vw2c 10000010b 003bh 003ch 003dh 003eh 003fh 0040h 0041h flash memory ready interrupt control register fmrdyic xxxxx000b 0042h 0043h 0044h 0045h 0046h 0047h timer rc interrupt control register trcic xxxxx000b 0048h timer rd0 interrupt control register trd0ic xxxxx000b 0049h timer rd1 interrupt control register trd1ic xxxxx000b 004ah 004bh uart2 transmit interrupt control register s2tic xxxxx000b 004ch uart2 receive interrupt control register s2ric xxxxx000b 004dh key input interrupt control register kupic xxxxx000b 004eh a/d conversion interrupt control register adic xxxxx000b 004fh ssu interrupt control register ssuic xxxxx000b 0050h 0051h uart0 transmit interrupt control register s0tic xxxxx000b 0052h uart0 receive interrupt control register s0ric xxxxx000b 0053h 0054h 0055h 0056h timer ra interrupt control register traic xxxxx000b 0057h 0058h timer rb interrupt control register trbic xxxxx000b 0059h int1 interrupt control register int1ic xx00x000b 005ah int3 interrupt control register int3ic xx00x000b 005bh 005ch 005dh int0 interrupt control register int0ic xx00x000b 005eh uart2 bus collision detection interrupt control register u2bcnic xxxxx000b 005fh 0060h 0061h 0062h 0063h 0064h 0065h 0066h 0067h 0068h 0069h 006ah 006bh 006ch 006dh 006eh 006fh 0070h 0071h 0072h voltage monitor 1 interrupt control register vcmp1ic xxxxx000b 0073h voltage monitor 2 interrupt control register vcmp2ic xxxxx000b 0074h 0075h 0076h 0077h 0078h 0079h 007ah 007bh 007ch 007dh 007eh 007fh
r8c/33g group, r8c/33h group 4. special function registers (sfrs) r01ds0091ej0100 rev.1.00 page 20 of 54 jul. 05, 2011 table 4.3 sfr information (3) (1) x: undefined note: 1. the blank areas are reserved an d cannot be accessed by users. address register symbol after reset 0080h dtc activation control register dtctl 00h 0081h 0082h 0083h 0084h 0085h 0086h 0087h 0088h dtc activation enable register 0 dtcen0 00h 0089h dtc activation enable register 1 dtcen1 00h 008ah dtc activation enable register 2 dtcen2 00h 008bh dtc activation enable register 3 dtcen3 00h 008ch dtc activation enable register 4 dtcen4 00h 008dh 008eh dtc activation enable register 6 dtcen6 00h 008fh 0090h 0091h 0092h 0093h 0094h 0095h 0096h 0097h 0098h 0099h 009ah 009bh 009ch 009dh 009eh 009fh 00a0h uart0 transmit/receive mode register u0mr 00h 00a1h uart0 bit rate register u0brg xxh 00a2h uart0 transmit buffer register u0tb xxh 00a3h xxh 00a4h uart0 transmit/receive control register 0 u0c0 00001000b 00a5h uart0 transmit/receive control register 1 u0c1 00000010b 00a6h uart0 receive buffer register u0rb xxh 00a7h xxh 00a8h uart2 transmit/receive mode register u2mr 00h 00a9h uart2 bit rate register u2brg xxh 00aah uart2 transmit buffer register u2tb xxh 00abh xxh 00ach uart2 transmit/receive control register 0 u2c0 00001000b 00adh uart2 transmit/receive control register 1 u2c1 00000010b 00aeh uart2 receive buffer register u2rb xxh 00afh xxh 00b0h uart2 digital filter function select register urxdf 00h 00b1h 00b2h 00b3h 00b4h 00b5h 00b6h 00b7h 00b8h 00b9h 00bah 00bbh uart2 special mode register 5 u2smr5 00h 00bch uart2 special mode register 4 u2smr4 00h 00bdh uart2 special mode register 3 u2smr3 000x0x0xb 00beh uart2 special mode register 2 u2smr2 x0000000b 00bfh uart2 special mode register u2smr x0000000b
r8c/33g group, r8c/33h group 4. special function registers (sfrs) r01ds0091ej0100 rev.1.00 page 21 of 54 jul. 05, 2011 table 4.4 sfr information (4) (1) x: undefined note: 1. the blank areas are reserved an d cannot be accessed by users. address register symbol after reset 00c0h a/d register 0 ad0 xxh 000000xxb 00c1h 00c2h a/d register 1 ad1 xxh 00c3h 000000xxb 00c4h a/d register 2 ad2 xxh 00c5h 000000xxb 00c6h a/d register 3 ad3 xxh 00c7h 000000xxb 00c8h a/d register 4 ad4 xxh 00c9h 000000xxb 00cah a/d register 5 ad5 xxh 00cbh 000000xxb 00cch a/d register 6 ad6 xxh 00cdh 000000xxb 00ceh a/d register 7 ad7 xxh 00cfh 000000xxb 00d0h 00d1h 00d2h 00d3h 00d4h a/d mode register admod 00h 00d5h a/d input select register adinsel 11000000b 00d6h a/d control register 0 adcon0 00h 00d7h a/d control register 1 adcon1 00h 00d8h d/a0 register da0 00h 00d9h d/a1 register da1 00h 00dah 00dbh 00dch d/a control register dacon 00h 00ddh 00deh 00dfh 00e0h port p0 register p0 xxh 00e1h port p1 register p1 xxh 00e2h port p0 direction register pd0 00h 00e3h port p1 direction register pd1 00h 00e4h 00e5h port p3 register p3 xxh 00e6h 00e7h port p3 direction register pd3 00h 00e8h port p4 register p4 xxh 00e9h port p5 register p5 xxh 00eah port p4 direction register pd4 00h 00ebh port p5 direction register pd5 00h 00ech 00edh 00eeh 00efh 00f0h 00f1h 00f2h 00f3h 00f4h 00f5h 00f6h 00f7h 00f8h 00f9h 00fah 00fbh 00fch 00fdh 00feh 00ffh
r8c/33g group, r8c/33h group 4. special function registers (sfrs) r01ds0091ej0100 rev.1.00 page 22 of 54 jul. 05, 2011 table 4.5 sfr information (5) (1) note: 1. the blank areas are reserved an d cannot be accessed by users. address register symbol after reset 0100h timer ra control register tracr 00h 0101h timer ra i/o control register traioc 00h 0102h timer ra mode register tramr 00h 0103h timer ra prescaler register trapre ffh 0104h timer ra register tra ffh 0105h lin control register 2 lincr2 00h 0106h lin control register lincr 00h 0107h lin status register linst 00h 0108h timer rb control register trbcr 00h 0109h timer rb one-shot control register trbocr 00h 010ah timer rb i/o control register trbioc 00h 010bh timer rb mode register trbmr 00h 010ch timer rb prescaler register trbpre ffh 010dh timer rb secondary register trbsc ffh 010eh timer rb primary register trbpr ffh 010fh 0110h 0111h 0112h 0113h 0114h 0115h 0116h 0117h 0118h 0119h 011ah 011bh 011ch 011dh 011eh 011fh 0120h timer rc mode register trcmr 01001000b 0121h timer rc control register 1 trccr1 00h 0122h timer rc interrupt enable register trcier 01110000b 0123h timer rc status register trcsr 01110000b 0124h timer rc i/o control register 0 trcior0 10001000b 0125h timer rc i/o control register 1 trcior1 10001000b 0126h timer rc counter trc 00h 0127h 00h 0128h timer rc general register a trcgra ffh 0129h ffh 012ah timer rc general register b trcgrb ffh 012bh ffh 012ch timer rc general register c trcgrc ffh 012dh ffh 012eh timer rc general register d trcgrd ffh 012fh ffh 0130h timer rc control register 2 trccr2 00011000b 0131h timer rc digital filter function select register trcdf 00h 0132h timer rc output master enable register trcoer 0 1111111b 0133h timer rc trigger control register trcadcr 00h 0134h 0135h 0136h timer rd trigger control register trdadcr 00h 0137h timer rd start register trdstr 11111100b 0138h timer rd mode register trdmr 00001110b 0139h timer rd pwm mode register trdpmr 10001000b 013ah timer rd function control register trdfcr 10000000b 013bh timer rd output master enable register 1 trdoer1 ffh 013ch timer rd output master enable register 2 trdoer2 0 1111111b 013dh timer rd output control register trdocr 00h 013eh timer rd digital filter function select register 0 trddf0 00h 013fh timer rd digital filter function select register 1 trddf1 00h
r8c/33g group, r8c/33h group 4. special function registers (sfrs) r01ds0091ej0100 rev.1.00 page 23 of 54 jul. 05, 2011 table 4.6 sfr information (6) (1) x: undefined note: 1. the blank areas are reserved an d cannot be accessed by users. address register symbol after reset 0140h timer rd control register 0 trdcr0 00h 0141h timer rd i/o control register a0 trdiora0 10001000b 0142h timer rd i/o control register c0 trdiorc0 10001000b 0143h timer rd status register 0 trdsr0 11100000b 0144h timer rd interrupt enable register 0 trdier0 11100000b 0145h timer rd pwm mode output level control register 0 trdpocr0 1111 1000b 0146h timer rd counter 0 trd0 00h 0147h 00h 0148h timer rd general register a0 trdgra0 ffh 0149h ffh 014ah timer rd general register b0 trdgrb0 ffh 014bh ffh 014ch timer rd general register c0 trdgrc0 ffh 014dh ffh 014eh timer rd general register d0 trdgrd0 ffh 014fh ffh 0150h timer rd control register 1 trdcr1 00h 0151h timer rd i/o control register a1 trdiora1 10001000b 0152h timer rd i/o control register c1 trdiorc1 10001000b 0153h timer rd status register 1 trdsr1 11000000b 0154h timer rd interrupt enable register 1 trdier1 11100000b 0155h timer rd pwm mode output level control register 1 trdpocr1 1111 1000b 0156h timer rd counter 1 trd1 00h 0157h 00h 0158h timer rd general register a1 trdgra1 ffh 0159h ffh 015ah timer rd general register b1 trdgrb1 ffh 015bh ffh 015ch timer rd general register c1 trdgrc1 ffh 015dh ffh 015eh timer rd general register d1 trdgrd1 ffh 015fh ffh 0160h 0161h 0162h 0163h 0164h 0165h 0166h 0167h 0168h 0169h 016ah 016bh 016ch 016dh 016eh 016fh 0170h 0171h 0172h 0173h 0174h 0175h 0176h 0177h 0178h 0179h 017ah 017bh 017ch 017dh 017eh 017fh
r8c/33g group, r8c/33h group 4. special function registers (sfrs) r01ds0091ej0100 rev.1.00 page 24 of 54 jul. 05, 2011 table 4.7 sfr information (7) (1) x: undefined note: 1. the blank areas are reserved an d cannot be accessed by users. address register symbol after reset 0180h timer ra pin select register trasr 00h 0181h timer rb/rc pin select register trbrcsr 00h 0182h timer rc pin select register 0 trcpsr0 00h 0183h timer rc pin select register 1 trcpsr1 00h 0184h timer rd pin select register 0 trdpsr0 00h 0185h timer rd pin select register 1 trdpsr1 00h 0186h 0187h 0188h uart0 pin select register u0sr 00h 0189h 018ah uart2 pin select register 0 u2sr0 00h 018bh uart2 pin select register 1 u2sr1 00h 018ch ssu pin select register ssuiicsr 00h 018dh 018eh int interrupt input pin select register intsr 00h 018fh i/o function pin select register pinsr 00h 0190h 0191h 0192h 0193h ss bit counter register ssbr 1111 1000b 0194h ss transmit data register l sstdr ffh 0195h ss transmit data register h sstdrh ffh 0196h ss receive data register l ssrdr ffh 0197h ss receive data register h ssrdrh ffh 0198h ss control register h sscrh 00h 0199h ss control register l sscrl 01111101b 019ah ss mode register ssmr 00010000b 019bh ss enable register sser 00h 019ch ss status register sssr 00h 019dh ss mode register 2 ssmr2 00h 019eh 019fh 01a0h 01a1h 01a2h 01a3h 01a4h 01a5h 01a6h 01a7h 01a8h 01a9h 01aah 01abh 01ach 01adh 01aeh 01afh 01b0h 01b1h 01b2h flash memory status register fst 10000x00b 01b3h 01b4h flash memory control register 0 fmr0 00h 01b5h flash memory control register 1 fmr1 00h 01b6h flash memory control register 2 fmr2 00h 01b7h 01b8h 01b9h 01bah 01bbh 01bch 01bdh 01beh 01bfh
r8c/33g group, r8c/33h group 4. special function registers (sfrs) r01ds0091ej0100 rev.1.00 page 25 of 54 jul. 05, 2011 table 4.8 sfr information (8) (1) x: undefined note: 1. the blank areas are reserved an d cannot be accessed by users. address register symbol after reset 01c0h address match interrupt register 0 rmad0 xxh 01c1h xxh 01c2h 0000xxxxb 01c3h address match interrupt enable register 0 aier0 00h 01c4h address match interrupt register 1 rmad1 xxh 01c5h xxh 01c6h 0000xxxxb 01c7h address match interrupt enable register 1 aier1 00h 01c8h 01c9h 01cah 01cbh 01cch 01cdh 01ceh 01cfh 01d0h 01d1h 01d2h 01d3h 01d4h 01d5h 01d6h 01d7h 01d8h 01d9h 01dah 01dbh 01dch 01ddh 01deh 01dfh 01e0h pull-up control register 0 pur0 00h 01e1h pull-up control register 1 pur1 00h 01e2h 01e3h 01e4h 01e5h 01e6h 01e7h 01e8h 01e9h 01eah 01ebh 01ech 01edh 01eeh 01efh 01f0h 01f1h 01f2h 01f3h 01f4h 01f5h input threshold control register 0 vlt0 00h 01f6h input threshold control register 1 vlt1 00h 01f7h 01f8h comparator b control register 0 intcmp 00h 01f9h 01fah external input enable register 0 inten 00h 01fbh 01fch int input filter select register 0 intf 00h 01fdh 01feh key input enable register 0 kien 00h 01ffh
r8c/33g group, r8c/33h group 4. special function registers (sfrs) r01ds0091ej0100 rev.1.00 page 26 of 54 jul. 05, 2011 table 4.9 sfr information (9) (1) x: undefined note: 1. the blank areas are reserved an d cannot be accessed by users. address register symbol after reset 2c00h dtc transfer vector area xxh 2c01h dtc transfer vector area xxh 2c02h xxh 2c03h dtc transfer vector area xxh 2c04h xxh 2c05h xxh 2c06h xxh 2c07h xxh 2c08h dtc transfer vector area xxh 2c09h dtc transfer vector area xxh 2c0ah dtc transfer vector area xxh 2c0bh dtc transfer vector area xxh 2c0ch xxh 2c0dh xxh 2c0eh dtc transfer vector area xxh 2c0fh dtc transfer vector area xxh 2c10h dtc transfer vector area xxh 2c11h dtc transfer vector area xxh 2c12h dtc transfer vector area xxh 2c13h dtc transfer vector area xxh 2c14h xxh 2c15h xxh 2c16h dtc transfer vector area xxh 2c17h dtc transfer vector area xxh 2c18h dtc transfer vector area xxh 2c19h dtc transfer vector area xxh 2c1ah dtc transfer vector area xxh 2c1bh dtc transfer vector area xxh 2c1ch dtc transfer vector area xxh 2c1dh dtc transfer vector area xxh 2c1eh dtc transfer vector area xxh 2c1fh dtc transfer vector area xxh 2c20h dtc transfer vector area xxh 2c21h dtc transfer vector area xxh 2c22h : : 2c30h 2c31h dtc transfer vector area xxh 2c32h xxh 2c33h dtc transfer vector area xxh 2c34h dtc transfer vector area xxh 2c35h xxh 2c36h xxh 2c37h xxh 2c38h xxh 2c39h xxh 2c3ah xxh 2c3bh xxh 2c3ch xxh 2c3dh xxh 2c3eh xxh 2c3fh xxh 2c40h dtc control data 0 dtcd0 xxh 2c41h xxh 2c42h xxh 2c43h xxh 2c44h xxh 2c45h xxh 2c46h xxh 2c47h xxh 2c48h dtc control data 1 dtcd1 xxh 2c49h xxh 2c4ah xxh 2c4bh xxh 2c4ch xxh 2c4dh xxh 2c4eh xxh 2c4fh xxh
r8c/33g group, r8c/33h group 4. special function registers (sfrs) r01ds0091ej0100 rev.1.00 page 27 of 54 jul. 05, 2011 table 4.10 sfr information (10) (1) x: undefined note: 1. the blank areas are reserved an d cannot be accessed by users. address register symbol after reset 2c50h dtc control data 2 dtcd2 xxh 2c51h xxh 2c52h xxh 2c53h xxh 2c54h xxh 2c55h xxh 2c56h xxh 2c57h xxh 2c58h dtc control data 3 dtcd3 xxh 2c59h xxh 2c5ah xxh 2c5bh xxh 2c5ch xxh 2c5dh xxh 2c5eh xxh 2c5fh xxh 2c60h dtc control data 4 dtcd4 xxh 2c61h xxh 2c62h xxh 2c63h xxh 2c64h xxh 2c65h xxh 2c66h xxh 2c67h xxh 2c68h dtc control data 5 dtcd5 xxh 2c69h xxh 2c6ah xxh 2c6bh xxh 2c6ch xxh 2c6dh xxh 2c6eh xxh 2c6fh xxh 2c70h dtc control data 6 dtcd6 xxh 2c71h xxh 2c72h xxh 2c73h xxh 2c74h xxh 2c75h xxh 2c76h xxh 2c77h xxh 2c78h dtc control data 7 dtcd7 xxh 2c79h xxh 2c7ah xxh 2c7bh xxh 2c7ch xxh 2c7dh xxh 2c7eh xxh 2c7fh xxh 2c80h dtc control data 8 dtcd8 xxh 2c81h xxh 2c82h xxh 2c83h xxh 2c84h xxh 2c85h xxh 2c86h xxh 2c87h xxh 2c88h dtc control data 9 dtcd9 xxh 2c89h xxh 2c8ah xxh 2c8bh xxh 2c8ch xxh 2c8dh xxh 2c8eh xxh 2c8fh xxh 2c90h dtc control data 10 dtcd10 xxh 2c91h xxh 2c92h xxh 2c93h xxh 2c94h xxh 2c95h xxh 2c96h xxh 2c97h xxh
r8c/33g group, r8c/33h group 4. special function registers (sfrs) r01ds0091ej0100 rev.1.00 page 28 of 54 jul. 05, 2011 table 4.11 sfr information (11) (1) x: undefined note: 1. the blank areas are reserved an d cannot be accessed by users. address register symbol after reset 2c98h dtc control data 11 dtcd11 xxh 2c99h xxh 2c9ah xxh 2c9bh xxh 2c9ch xxh 2c9dh xxh 2c9eh xxh 2c9fh xxh 2ca0h dtc control data 12 dtcd12 xxh 2ca1h xxh 2ca2h xxh 2ca3h xxh 2ca4h xxh 2ca5h xxh 2ca6h xxh 2ca7h xxh 2ca8h dtc control data 13 dtcd13 xxh 2ca9h xxh 2caah xxh 2cabh xxh 2cach xxh 2cadh xxh 2caeh xxh 2cafh xxh 2cb0h dtc control data 14 dtcd14 xxh 2cb1h xxh 2cb2h xxh 2cb3h xxh 2cb4h xxh 2cb5h xxh 2cb6h xxh 2cb7h xxh 2cb8h dtc control data 15 dtcd15 xxh 2cb9h xxh 2cbah xxh 2cbbh xxh 2cbch xxh 2cbdh xxh 2cbeh xxh 2cbfh xxh 2cc0h dtc control data 16 dtcd16 xxh 2cc1h xxh 2cc2h xxh 2cc3h xxh 2cc4h xxh 2cc5h xxh 2cc6h xxh 2cc7h xxh 2cc8h dtc control data 17 dtcd17 xxh 2cc9h xxh 2ccah xxh 2ccbh xxh 2ccch xxh 2ccdh xxh 2cceh xxh 2ccfh xxh 2cd0h dtc control data 18 dtcd18 xxh 2cd1h xxh 2cd2h xxh 2cd3h xxh 2cd4h xxh 2cd5h xxh 2cd6h xxh 2cd7h xxh 2cd8h dtc control data 19 dtcd19 xxh 2cd9h xxh 2cdah xxh 2cdbh xxh 2cdch xxh 2cddh xxh 2cdeh xxh 2cdfh xxh
r8c/33g group, r8c/33h group 4. special function registers (sfrs) r01ds0091ej0100 rev.1.00 page 29 of 54 jul. 05, 2011 table 4.12 sfr information (12) (1) x: undefined note: 1. the blank areas are reserved an d cannot be accessed by users. table 4.13 id code areas and option function select area notes: 1. the option function select area is allocated in the flash memory , not in the sfrs. set appropriate values as rom data by a pr ogram. do not write additions to the option function select area. if the block including the option function select area is erased, th e option function select area is set to ffh. when blank products are shipped, the option function select area is set to ffh. it is set to the written value after written by the user. when factory-programming products are shipped, the value of the option function select area is the value programmed by the user . 2. the id code areas are allocated in the flash memory, not in the sfrs. set appropriate values as rom data by a program. do not write additions to the id code areas. if the block includ ing the id code areas is erased, the id code areas are set to f fh. when blank products are shipped, the id code areas are set to ffh. they are set to the written value after written by the user. when factory-programming products are shipped, the value of the id code areas is the value programmed by the user. address register symbol after reset 2ce0h dtc control data 20 dtcd20 xxh 2ce1h xxh 2ce2h xxh 2ce3h xxh 2ce4h xxh 2ce5h xxh 2ce6h xxh 2ce7h xxh 2ce8h dtc control data 21 dtcd21 xxh 2ce9h xxh 2ceah xxh 2cebh xxh 2cech xxh 2cedh xxh 2ceeh xxh 2cefh xxh 2cf0h dtc control data 22 dtcd22 xxh 2cf1h xxh 2cf2h xxh 2cf3h xxh 2cf4h xxh 2cf5h xxh 2cf6h xxh 2cf7h xxh 2cf8h dtc control data 23 dtcd23 xxh 2cf9h xxh 2cfah xxh 2cfbh xxh 2cfch xxh 2cfdh xxh 2cfeh xxh 2cffh xxh 2d00h : 2fffh address area name symbol after reset : ffdbh option function select register 2 ofs2 (note 1) : ffdfh id1 (note 2) : ffe3h id2 (note 2) : ffebh id3 (note 2) : ffefh id4 (note 2) : fff3h id5 (note 2) : fff7h id6 (note 2) : fffbh id7 (note 2) : ffffh option function select register ofs (note 1)
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 30 of 54 jul. 05, 2011 5. electrical characteristics notes: 1. meet the specified range for the input voltage or the input current. 2. applicable ports: p0, p1, p3_1, p3_3 to p3_7, p4_5, p5_3, p5_4 3. the total input current must be 12 ma or less. 4. even if no voltage is supplied to vcc, the input current may cause the mcu to be powered on and operate. when a voltage is supplied to vcc, the input current may cause the supply volt age to rise. since operations in any cases other than above are not guaranteed, use the power supply circuit in the system to ensure the supply voltage for the mcu is stable within the specified range. table 5.1 absolute maximum ratings symbol parameter condition rated value unit v cc /av cc supply voltage ? ? 4 >> ? ? 4 ? < ? ? ?
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 31 of 54 jul. 05, 2011 notes: 1. v cc = 2.7 to 5.5 v and t opr = ! 40 to 85 " c (j version) / ! 40 to 125 " c (k version), unless otherwise specified. 2. the average output current indicates the av erage value of current measured during 100 ms. 3. foco40m can be used as the count source for timer rc or timer rd in the range of v cc = 2.7 v to 5.5v. table 5.2 recommended operating conditions symbol parameter conditions standard unit min. typ. max. v cc /av cc supply voltage 2.7 ! 5.5 v v ss /av ss supply voltage ! 0 ! v v ih input ?h? voltage other than cmos input 0.8 v cc ! v cc v cmos input input level switching function (i/o port) input level selection : 0.35 v cc 4.0 v # v cc # 5.5 v 0.5 v cc ! v cc v 2.7 v # v cc < 4.0 v 0.55 v cc ! v cc v input level selection : 0.5 v cc 4.0 v # v cc # 5.5 v 0.65 v cc ! v cc v 2.7 v # v cc < 4.0 v 0.7 v cc ! v cc v input level selection : 0.7 v cc 4.0 v # v cc # 5.5 v 0.85 v cc ! v cc v 2.7 v # v cc < 4.0 v 0.85 v cc ! v cc v external clock input (xout) 1.2 ! v cc v v il input ?l? voltage other than cmos input 0 ! 0.2 v cc v cmos input input level switching function (i/o port) input level selection : 0.35 v cc 4.0 v # v cc # 5.5 v 0 ! 0.2 v cc v 2.7 v # v cc < 4.0 v 0 ! 0.2 v cc v input level selection : 0.5 v cc 4.0 v # v cc # 5.5 v 0 ! 0.4 v cc v 2.7 v # v cc < 4.0 v 0 ! 0.3 v cc v input level selection : 0.7 v cc 4.0 v # v cc # 5.5 v 0 ! 0.55 v cc v 2.7 v # v cc < 4.0 v 0 ! 0.45 v cc v external clock input (xout) 0 ! 0.4 v i oh(sum) peak sum output ?h? current sum of all pins i oh(peak) !!! 80 ma i oh(sum) average sum output ?h? current sum of all pins i oh(avg) !!! 40 ma i oh(peak) peak output ?h? current !!! 10 ma i oh(avg) average output ?h? current !!! 5ma i ol(sum) peak sum output ?l? current sum of all pins i ol(peak) !! 80 ma i ol(sum) average sum output ?l? current sum of all pins i ol(avg) !! 40 ma i ol(peak) peak output ?l? current !! 10 ma i ol(avg) average output ?l? current !! 5ma f (xin) xin clock input oscillation frequency 2.7 v # v cc # 5.5 v !! 20 mhz foco40m when used as the count source for timer rc or timer rd (3) 2.7 v # v cc # 5.5 v 32 ! 40 mhz foco-f foco-f frequency 2.7 v # v cc # 5.5 v !! 20 mhz ! system clock frequency 2.7 v # v cc # 5.5 v !! 20 mhz f (bclk) cpu clock frequency 2.7 v # v cc # 5.5 v !! 20 mhz
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 32 of 54 jul. 05, 2011 note: 1. v cc = 4.5 to 5.5 v and t opr = ! 40 to 85 " c (j version) / ! 40 to 125 " c (k version), unless otherwise specified. figure 5.1 ports p0 to p1, p3_1, p3_3 to p3_7 , p4_2, p4_5 to p4_7, p5_3, and p5_4 timing measurement circuit table 5.3 recommended operating conditions (2) symbol parameter conditions standard unit min. typ. max. i ic(h) high input injection current p0, p1, p3_1, p3_3 to p3_7, p4_5, p5_3, p5_4 v i > v cc !! 2ma i ic(l) low input injection current p0, p1, p3_1, p3_3 to p3_7, p4_5, p5_3, p5_4 v i < v ss !!! 2ma % |i ic | total injection current !! 8ma p0 p1 p3_1,ap3_3 to p3_7 p4_2,ap4_5 to p4_7 p5_3,ap5_4 30pf
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 33 of 54 jul. 05, 2011 notes: 1. v cc /av cc = v ref = 2.7 to 5.5 v, v ss = 0 v and t opr = ! 40 to 85 " c (j version) / ! 40 to 125 " c (k version), unless otherwise specified. 2. the a/d conversion result will be undefined in wait mode, stop mode, when the flash memory stops, and in low-current- consumption mode. do not perform a/d conversion in these st ates or transition to these states during a/d conversion. 3. when the analog input voltage is over the reference voltage, t he a/d conversion result will be 3ffh in 10-bit mode and ffh in 8-bit mode. 4. when the d/a converter unused. table 5.4 a/d converter characteristics symbol parameter conditions standard unit min. typ. max. ! resolution v ref = av cc !! 10 bit ! absolute accuracy 10-bit mode v ref = av cc = 5.0 v an0 to an7 input, an8 to an11 input !! 3 lsb v ref = av cc = 3.0 v an0 to an7 input, an8 to an11 input !! 5 lsb 8-bit mode v ref = av cc = 5.0 v an0 to an7 input, an8 to an11 input !! 2 lsb v ref = av cc = 3.0 v an0 to an7 input, an8 to an11 input !! 2 lsb & ad a/d conversion clock 4.0 v # v ref = av cc # 5.5 v (2) 2 ! 20 mhz 2.7 v # v ref = av cc # 5.5 v (2) 2 ! 10 mhz ! tolerance level impedance ! 3 ! k ' t conv conversion time 10-bit mode v ref = av cc = 5.0 v, & ad = 20 mhz 2.2 !!( s 8-bit mode v ref = av cc = 5.0 v, & ad = 20 mhz 2.2 !!( s t samp sampling time & ad = 20 mhz 0.80 !!( s i vref v ref current (4) v cc = 5 v, xin = f1 = & ad = 20 mhz ! 45 !( a v ref reference voltage 2.7 ! av cc v v ia analog input voltage (3) 0 ! v ref v ocvref on-chip reference voltage 2 mhz # & ad # 4mhz 1.14 1.34 1.54 v
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 34 of 54 jul. 05, 2011 notes: 1. v cc /av cc = v ref = 2.7 to 5.5 v and t opr = ! 40 to 85 " c (j version) / ! 40 to 125 " c (k version), unless otherwise specified. 2. this applies when one d/a converter is used and the value of the dai register (i = 0 or 1) for the unused d/a converter is 00 h. the resistor ladder of the a/d converter is not included. notes: 1. v cc = 2.7 to 5.5 v, t opr = ! 40 to 85 " c (j version) / ! 40 to 125 " c (k version), unless otherwise specified. 2. when the digital filter is disabled. table 5.5 d/a converter characteristics symbol parameter condition standard unit min. typ. max. ! resolution !! 8bit ! absolute accuracy !! 2.5 lsb t su setup time !! 3 ( s r o output resistor ! 6 ! k ' i vref reference power input current (note 2) !! 1.5 ma table 5.6 comparator b electrical characteristics symbol parameter condition standard unit min. typ. max. vref ivref1, ivref3 input reference voltage 0 ! v cc !) 1.4 v v i ivcmp1, ivcmp3 input voltage ! 0.3 ! v cc *) 0.3 v ! offset ! 5 100 mv t d comparator output delay time (2) v i = vref 100 mv ! 0.1 !( s i cmp comparator operating current v cc = 5.0 v ! 17.5 !( a
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 35 of 54 jul. 05, 2011 notes: 1. vcc = 2.7 to 5.5 v and topr = -40 to 85 " c (j version) / -40 to 125 " c (k version), unless otherwise specified. 2. definition of programming/erasure endurance the programming and erasure endurance is defined on a per-block basis. if the programming and erasure endurance is n (n = 10,000), each block can be erased n times. for example, if 1,024 1-byte writes are performed to different addresses in block a, a 1 kbyte block, and then the block is erased, the programming/erasure endurance still stands at one. however, the same address must not be programmed more than once per erase operation (overwriting prohibited). 3. endurance to guarantee all electrical characteristics afte r program and erase. (1 to min. value can be guaranteed). 4. in a system that executes multiple programming operations, t he actual erasure count can be reduced by writing to sequential addresses in turn so that as much of the block as possib le is used up before performing an erase operation. for example, when programming groups of 16 bytes, the effective number of rewrites can be minimized by programming up to 128 groups before erasing them all in one operation. it is also advisable to retain data on the erasure endurance of each block and limit the number of erase operations to a certain number. 5. if an error occurs during block erase, attempt to execute the clear status register comm and, then execute the block erase command at least three times until the erase error does not occur. 6. customers desiring program/erase failure rate information sh ould contact their renesas technical support representative. 7. the data hold time includes time that the power supply is off or the clock is not supplied. 8. this data hold time includes 3,000 hours in ta = 125 " c and 7,000 hours in ta = 85 " c. table 5.7 flash memory (program rom) electrical characteristics symbol parameter conditions standard unit min. typ. max. ! program/erase endurance (2) r8c/33g group 1,000 (3) !! times r8c/33h group 100 (3) !! times ! byte program time (program/erase endurance # 100 times) ! 80 300 ( s ! byte program time (program/erase endurance > 100 times) ! 80 500 ( s ! block erase time ! 0.3 4 s t d(sr-sus) time delay from suspend request until suspend !! 5+cpu clock 3 cycles ms ! interval from erase start/restart until following suspend request 0 !!( s ! time from suspend until erase restart !! 30+cpu clock 1 cycle ( s t d(cmdrst- ready) time from when command is forcibly terminated until reading is enabled !! 30+cpu clock 1 cycle ( s ! program, erase voltage 2.7 ! 5.5 v ! read voltage 2.7 ! 5.5 v ! program, erase temperature !+ 0 ! 85 " c (j version), 125 " c (k version) " c ! data hold time (7) ambient temperature = 55 " c (8) 20 !! year
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 36 of 54 jul. 05, 2011 notes: 1. v cc = 2.7 to 5.5 v and t opr = ! 40 to 85 " c (j version) / ! 40 to 125 " c (k version), unless otherwise specified. 2. definition of programming/erasure endurance the programming and erasure endurance is defined on a per-block basis. if the programming and erasure endurance is n (n = 10,000), each block can be erased n times. for example, if 1,024 1-byte writes are performed to different addresses in block a, a 1 kbyte block, and then the block is erased, the programming/erasure endurance still stands at one. however, the same address must not be programmed more than once per erase operation (overwriting prohibited). 3. endurance to guarantee all electrical characteristics afte r program and erase. (1 to min. value can be guaranteed). 4. in a system that executes multiple programming operations, t he actual erasure count can be r educed by writing to sequential addresses in turn so that as much of the block as possib le is used up before performing an erase operation. for example, when programming groups of 16 bytes, the effective number of rewrites can be minimized by programming up to 128 groups before erasing them all in one operation. in addition, aver aging the erasure endurance between blocks a to d can further reduce the actual erasure endurance. it is also advisable to re tain data on the erasure endurance of each block and limit the number of erase operations to a certain number. 5. if an error occurs during block erase, attempt to execute the clear status register command, then execute the block erase command at least three times until the erase error does not occur. 6. customers desiring program/erase failure rate information sh ould contact their renesas technical support representative. 7. the data hold time includes time that th e power supply is off or the clock is not supplied. 8. this data hold time includes 3,000 hours in ta = 125 " c and 7,000 hours in ta = 85 " c. figure 5.2 time delay until suspend table 5.8 flash memory (data flash block a to block d) electrical characteristics symbol parameter conditions standard unit min. typ. max. ! program/erase endurance (2) 10,000 (3) !! times ! byte program time (program/erase endurance # 1,000 times) ! 160 950 ( s ! byte program time (program/erase endurance , 1,000 times) ! 300 950 ( s ! block erase time (program/erase endurance # 1,000 times) ! 0.2 1 s ! block erase time (program/erase endurance , 1,000 times) ! 0.3 1 s t d(sr-sus) time delay from suspend request until suspend !! 3+cpu clock 3 cycles ms ! interval from erase start/restart until following suspend request 0 !!( s ! time from suspend until erase restart !! 30+cpu clock 1 cycle ( s t d(cmdrst- ready) time from when command is forcibly terminated until reading is enabled !! 30+cpu clock 1 cycle ( s ! program, erase voltage 2.7 ! 5.5 v ! read voltage 2.7 ! 5.5 v ! program, erase temperature ! 40 ! 85 " c (j version), 125 " c (k version) " c ! data hold time (7) ambient temperature = 55 " c (8) 20 !! year fst6 bit suspend request (fmr21 bit) fixed time clock-dependent time access restart fst6, fst7: bit in fst register fmr21: bit in fmr2 register fst7 bit t d(sr-sus)
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 37 of 54 jul. 05, 2011 notes: 1. the measurement condition is v cc = 2.7 v to 5.5 v and t opr = ! 40 to 85 " c (j version) / ! 40 to 125 " c (k version). 2. necessary time until the voltage detection circuit operates when setting to 1 again after setting the vca25 bit in the vca2 register to 0. 3. time until the voltage monitor 0 reset is generated after the voltage passes v det0 . notes: 1. the measurement condition is v cc = 2.7 v to 5.5 v and t opr = ! 40 to 85 " c (j version) / ! 40 to 125 " c (k version). 2. select the voltage detection level with bits vd1s0 to vd1s3 in the vd1ls register. 3. time until the voltage monitor 1 interrupt request is generated after the voltage passes v det1 . 4. necessary time until the voltage detection circuit operates when setting to 1 again after setting the vca26 bit in the vca2 register to 0. table 5.9 voltage detection 0 circuit electrical characteristics symbol parameter condition standard unit min. typ. max. v det0 voltage detection level at the falling of v cc 2.70 2.85 3.05 v ! voltage detection 0 circuit response time (3) at the falling of v cc from 5 v to (vdet0 ! 0.1) v ! 6150 ( s ! voltage detection circuit self power consumption vca25 = 1, v cc = 5.0 v ! 1.5 !( a t d(e-a) waiting time until voltage detection circuit operation starts (2) !! 100 ( s table 5.10 voltage detection 1 circuit electrical characteristics symbol parameter condition standard unit min. typ. max. v det1 voltage detection level vdet1_7 (2) at the falling of v cc 2.95 3.25 3.55 v voltage detection level vdet1_8 (2) at the falling of v cc 3.10 3.40 3.70 v voltage detection level vdet1_9 (2) at the falling of v cc 3.25 3.55 3.85 v voltage detection level vdet1_a (2) at the falling of v cc 3.40 3.70 4.00 v voltage detection level vdet1_b (2) at the falling of v cc 3.55 3.85 4.15 v voltage detection level vdet1_c (2) at the falling of v cc 3.70 4.00 4.30 v voltage detection level vdet1_d (2) at the falling of v cc 3.85 4.15 4.45 v voltage detection level vdet1_e (2) at the falling of v cc 4.00 4.30 4.60 v ! hysteresis width at the rising of vcc in voltage detection 1 circuit ! 0.10 ! v ! voltage detection 1 circuit response time (3) at the falling of v cc from 5 v to (vdet1_7 ! 0.1) v ! 60 150 ( s ! voltage detection circuit self power consumption vca26 = 1, v cc = 5.0 v ! 1.7 !( a t d(e-a) waiting time until voltage detection circuit operation starts (4) !! 100 ( s
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 38 of 54 jul. 05, 2011 notes: 1. the measurement condition is v cc = 2.7 v to 5.5 v and t opr = ! 40 to 85 " c (j version) / ! 40 to 125 " c (k version). 2. time until the voltage monitor 2 interrupt request is generated after the voltage passes v det2 . 3. necessary time until the voltage detection circuit operates afte r setting to 1 again after setting the vca27 bit in the vca2 register to 0. notes: 1. the measurement condition is t opr = ! 40 to 85 " c (j version) / ! 40 to 125 " c (k version), unless otherwise specified. 2. to use the power-on reset function, enable voltage monitor 0 reset by setting the lvdas bit in the ofs register to 0. figure 5.3 power-on reset circuit electrical characteristics table 5.11 voltage detection 2 circuit electrical characteristics symbol parameter condition standard unit min. typ. max. v det2 voltage detection level vdet2 at the falling of v cc 3.70 4.00 4.30 v ! hysteresis width at the rising of vcc in voltage detection 2 circuit ! 0.10 ! v ! voltage detection 2 circuit response time (2) at the falling of vcc from 5 v to (vdet2 ! 0.1) v ! 20 150 ( s ! voltage detection circuit self power consumption vca27 = 1, v cc = 5.0 v ! 1.7 !( a t d(e-a) waiting time until voltage detection circuit operation starts (3) !! 100 ( s table 5.12 power-on reset circuit (2) symbol parameter condition standard unit min. typ. max. t rth external power v cc rise gradient (1) 0 ! 50,000 mv/msec notes: 1. v det0 indicates the voltage detection level of the voltage detection 0 circuit. refer to 6. voltage detection circuit for details. 2. t w(por) indicates the duration the external power v cc must be held below the valid voltage (0.5 v) to enable a power-on reset. when turning on the power after it falls with voltage monitor 0 reset disabled, maintain t w(por) for 1 ms or more. v det0 (1) 0.5 v internal reset signal t w(por) (2) voltage detection 0 circuit response time v det0 (1) 1 f oco-s - 32 1 f oco-s - 32 external power v cc t rth t rth
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 39 of 54 jul. 05, 2011 notes: 1. v cc = 2.7 to 5.5 v, t opr = ! 40 to 85 " c (j version) / ! 40 to 125 " c (k version), unless otherwise specified. 2. this indicates the precision error for the oscillati on frequency of the high-speed on-chip oscillator. 3. this enables the setting errors of bit rates such as 9600 bps and 38400 bps to be 0% when the serial interface is used in uart mode. note: 1. v cc = 2.7 to 5.5 v, t opr = ! 40 to 85 " c (j version) / ! 40 to 125 " c (k version), unless otherwise specified. notes: 1. the measurement condition is vcc = 2.7 v to 5.5 v and topr = -40 to 85 " c (j version) / -40 to 125 " c (k version). 2. waiting time until the internal power supp ly generation circuit stabilizes during power-on. table 5.13 high-speed on-chip oscillator circuit electrical characteristics symbol parameter condition standard unit min. typ. max. ! high-speed on-chip oscillator frequency after reset v cc = 2.7 v to 5.5 v, ! 40 " c # t opr # 85 " c (j version) / ! 40 " c # t opr # 125 " c (k version) ! 40 ! mhz high-speed on-chip oscillator frequency when the fra4 register correc tion value is written into the fra1 register and the fra5 register correction value into the fra3 register (3) ! 36.864 ! mhz high-speed on-chip oscillator frequency when the fra6 register correc tion value is written into the fra1 register and the fra7 register correction value into the fra3 register ! 32 ! mhz high-speed on-chip oscillator frequency temperature. supply voltage dependence (2) ! 5 ! 5% ! oscillation stability time ! 200 !( s ! self power consumption at oscillation v cc = 5.0 v, t opr = 25 " c ! 400 !( a table 5.14 low-speed on-chip oscillator circuit electrical characteristics symbol parameter condition standard unit min. typ. max. foco-s low-speed on-chip oscillator frequency 2.7 v # vcc < 4.2 v 106.25 125 143.75 khz 4.2 v # vcc # 5.5 v 112.5 125 137.5 foco-wdt low-speed on-chip oscillator frequency for watchdog timer 2.7 v # vcc < 4.2 v 106.25 125 143.75 khz 4.2 v # vcc < 5.5 v 112.5 125 137.5 ! oscillation stability time v cc = 5.0 v, t opr = 25 " c ! 30 100 ( s ! self power consumption at oscillation v cc = 5.0 v, t opr = 25 " c ! 3 !( a table 5.15 power supply circuit timing characteristics symbol parameter condition standard unit min. typ. max. t d(p-r) time for internal power supply stabilization during power-on (2) !! 2,000 ( s
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 40 of 54 jul. 05, 2011 notes: 1. v cc = 2.7 to 5.5 v, v ss = 0 v and t opr = ! 40 to 85 " c (j version) / ! 40 to 125 " c (k version), unless otherwise specified. 2. 1t cyc = 1/f1(s) table 5.16 timing requirements of synchronous serial communication unit (ssu) (1) symbol parameter conditions standard unit min. typ. max. t sucyc ssck clock cycle time 4 !! t cyc (2) t hi ssck clock ?h? width 0.4 ! 0.6 t sucyc t lo ssck clock ?l? width 0.4 ! 0.6 t sucyc t rise ssck clock rising time master !! 1 t cyc (2) slave !! 1 ( s t fall ssck clock falling time master !! 1 t cyc (2) slave !! 1 ( s t su sso, ssi data input setup time 100 !! ns t h sso, ssi data input hold time 1 !! t cyc (2) t lead scs setup time slave 1t cyc + 50 !! ns t lag scs hold time slave 1t cyc + 50 !! ns t od sso, ssi data output delay time !! 1 t cyc (2) t sa ssi slave access time 2.7 v # v cc # 5.5 v !! 1.5t cyc + 100 ns t or ssi slave out open time 2.7 v # v cc # 5.5 v !! 1.5t cyc + 100 ns
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 41 of 54 jul. 05, 2011 figure 5.4 i/o timing of synchronous serial communication unit (ssu) (master) v ih or v oh v il or v ol t hi t lo t hi t fall t rise t lo t sucyc t od t h t su scs (output) ssck (output) (cpos = 1) ssck (output) (cpos = 0) sso (output) ssi (input) 4-wire bus communication mode, master, cphs = 1 v ih or v oh v il or v ol t hi t lo t hi t fall t rise t lo t sucyc t od t h t su scs (output) ssck (output) (cpos = 1) ssck (output) (cpos = 0) sso (output) ssi (input) 4-wire bus communication mode, master, cphs = 0 cphs, cpos: bits in ssmr register
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 42 of 54 jul. 05, 2011 figure 5.5 i/o timing of synchronous serial communication unit (ssu) (slave) v ih or v oh v il or v ol scs (input) ssck (input) (cpos = 1) ssck (input) (cpos = 0) sso (input) ssi (output) 4-wire bus communication mode, slave, cphs = 1 v ih or v oh v il or v ol t hi t lo t hi t fall t rise t lo t sucyc t h t su scs (input) ssck (input) (cpos = 1) ssck (input) (cpos = 0) sso (input) ssi (output) 4-wire bus communication mode, slave, cphs = 0 t od t lead t sa t lag t or t hi t lo t hi t fall t rise t lo t sucyc t h t su t od t lead t sa t lag t or cphs, cpos: bits in ssmr register
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 43 of 54 jul. 05, 2011 figure 5.6 i/o timing of synchronous serial communication unit (ssu) (clock synchronous communication mode) v ih or v oh t hi t lo t sucyc t od t h t su ssck sso (output) ssi (input) v il or v ol
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 44 of 54 jul. 05, 2011 note: 1. 4.2 v # v cc # 5.5 v and t opr = ! 40 to 85 " c (j version) / ! 40 to 125 " c (k version), f(xin) = 20 mhz, unless otherwise specified. table 5.17 electrical characteristics (1) [4.2 v # vcc # 5.5 v] symbol parameter condition standard unit min. typ. max. v oh output ?h? voltage other than xout i oh = ! 5 ma v cc !) 2.0 ! v cc v i oh = ! 200 ( av cc !) 0.3 ! v cc v xout i oh = ! 200 ( a1.0 ! v cc v v ol output ?l? voltage other than xout i ol = 5 ma !! 2.0 v i ol = 200 ( a !! 0.45 v xout i ol = 200 ( a !! 0.5 v v t+- v t- hysteresis int0 , int1 , int3 , ki0 , ki1 , ki2 , ki3 , traio, trbo, trcioa, trciob, trcioc, trciod, trdioa0, trdiob0, trdioc0, trdiod0, trdioa1, trdiob1, trdioc1, trdiod1, trctrg, trcclk, trdclk, adtrg , rxd0, rxd2, clk0, clk2, ssi, scl2, sda2, sso vcc = 5.0 v 0.1 1.2 ! v reset vcc = 5.0 v 0.1 1.2 ! v i ih input ?h? current vi = 5 v, v cc = 5.0 v !! 1.0 ( a i il input ?l? current vi = 0 v, v cc = 5.0 v !!! 1.0 ( a r pullup pull-up resistance vi = 0 v, v cc = 5.0 v 25 50 100 k ' r fxin feedback resistance xin ! 0.3 ! m ' v ram ram hold voltage during stop mode 2.0 !! v
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 45 of 54 jul. 05, 2011 note: 1. the typical value (typ.) indicates the current value when the cpu and the memory operate. the maximum value (max.) indicates th e current when the cpu, the memory, and the peripheral functions operate and the flash memory is programmed/erased. table 5.18 electrical characteristics (2) [3.3 v ? > > > ? ? ? ? ? ? ? ? ? ? ? ? ? >> ? ? ? > ? > ? ?
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 46 of 54 jul. 05, 2011 note: 1. the typical value (typ.) indicates the current value when the cpu and the memory operate. the maximum value (max.) indicates th e current when the cpu, the memory, an d the peripheral functions operate and the flash memory is programmed/erased. table 5.19 electrical characteristics (3) [3.3 v ? > > > ? ? ? ? ? ? ? ? ? ? ? ? ? >> ? ? ? > ? > ? ?
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 47 of 54 jul. 05, 2011 timing requirements (unless otherwise specified: vcc = 5 v, vss = 0 v at topr = ? ? ? ? ? ? ? ?
r8c/33g group, r8c/33h group 5 . electrical characteristics r01ds0091ej0100 rev.1.00 page 48 of 54 jul. 05, 2011 i = 0, 2 figure 5.9 serial interface timing diagram when v cc = 5 v notes: 1. when selecting the digital filter by the inti input filter select bit, use an inti input high width of either (1/digital filter clock frequency 3) or the minimum value of standard, whichever is greater. 2. when selecting the digital filter by the inti input filter select bit, use an inti input low width of either (1/digital filter clock frequency 3) or the minimum value of standard, whichever is greater. figure 5.10 input timing diagram for external interrupt int i and key input interrupt kii when vcc = 5 v table 5.22 serial interface symbol parameter condition standard unit min. max. t c(ck) clki input cycle time when external clock selected 200 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? > > > ? > ? ? ? ? ? > >
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 49 of 54 jul. 05, 2011 note: 1. 2.7 v # v cc < 4.2 v and t opr = ! 40 to 85 " c (j version) / ! 40 to 125 " c (k version), f(xin) = 20 mhz, unless otherwise specified. table 5.24 electrical characteristics (4) [2.7 v # vcc < 4.2 v] symbol parameter condition standard unit min. typ. max. v oh output ?h? voltage other than xout i oh = ! 1 ma v cc !) 0.5 ! v cc v xout i oh = ! 200 ( a1.0 ! v cc v v ol output ?l? voltage other than xout i ol = 1 ma !! 0.5 v xout i ol = 200 ( a !! 0.5 v v t+- v t- hysteresis int0 , int1 , int3 , ki0 , ki1 , ki2 , ki3 , traio, trbo, trcioa, trciob, trcioc, trciod, trdioa0, trdiob0, trdioc0, trdiod0, trdioa1, trdiob1, trdioc1, trdiod1, trctrg, trcclk, trdclk, adtrg , rxd0, rxd2, clk0, clk2, ssi, scl2, sda2, sso v cc = 3.0 v 0.1 0.4 ! v reset v cc = 3.0 v 0.1 0.5 ! v i ih input ?h? current vi = 3 v, v cc = 3.0 v !! 1.0 ( a i il input ?l? current vi = 0 v, v cc = 3.0 v !!! 1.0 ( a r pullup pull-up resistance vi = 0 v, v cc = 3.0 v 42 84 168 k ' r fxin feedback resistance xin ! 0.3 ! m ' v ram ram hold voltage during stop mode 2.0 !! v
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 50 of 54 jul. 05, 2011 note: 1. the typical value (typ.) indicates the current value when the cpu and the memory operate. the maximum value (max.) indicates the current when the cp u, the memory, and the peripheral functions operate and the flash memory is programmed/erased. table 5.25 electrical characteristics (5) [2.7 v ? > > > ? ? ? ? ? ? ? ? ? ? ? ? ? >> ? > ? > ? > ? > ? ?
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 51 of 54 jul. 05, 2011 note: 1. the typical value (typ.) indicates the current value when the cpu and the memory operate. the maximum value (max.) indicates the current when the cp u, the memory, and the peripheral functions operate and the flash memory is programmed/erased. table 5.26 electrical characteristics (6) [2.7 v ? > > > ? ? ? ? ? ? ? ? ? ? ? ? ? >> ? > ? > ? > ? > ? ?
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 52 of 54 jul. 05, 2011 timing requirements (unless otherwise specified: vcc = 3 v, vss = 0 v at topr = ? ? ? ? ? ? ? ?
r8c/33g group, r8c/33h group 5. electrical characteristics r01ds0091ej0100 rev.1.00 page 53 of 54 jul. 05, 2011 i = 0, 2 figure 5.13 serial interface timing diagram when v cc = 3 v notes: 1. when selecting the digital filter by the inti input filter select bit, use an inti input high width of either (1/digital filter clock frequency 3) or the minimum value of standard, whichever is greater. 2. when selecting the digital filter by the inti input filter select bit, use an inti input low width of either (1/digital filter clock frequency 3) or the minimum value of standard, whichever is greater. figure 5.14 input timing diagram for external interrupt int i and key input interrupt kii when vcc = 3 v table 5.29 serial interface symbol parameter condition standard unit min. max. t c(ck) clki input cycle time when external clock selected 300 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? > > > ? > ? ? ? ? ? > >
r8c/33g group, r8c/33h group package dimensions r01ds0091ej0100 rev.1.00 page 54 of 54 jul. 05, 2011 package dimensions diagrams showing the latest package dimensions and moun ting information are available in the ?p ackages? section of the renesas electronics website. 2. 1. dimensions " * 1" and " * 2" do not include mold flash. note) dimension " * 3" does not include trim offset. y index mark * 3 f 32 25 24 17 16 9 8 1 * 1 * 2 x b p e h e e d h d z d z e detail f l 1 l a c a 2 a 1 previous code jeita package code renesas code plqp0032gb-a 32p6u-a mass[typ.] 0.2g p-lqfp32-7x7-0.80 1.0 0.125 0.35 0.7 0.7 0.20 0.20 0.145 0.09 0.42 0.37 0.32 max nom min dimension in millimeters symbol reference 7.1 7.0 6.9 d 7.1 7.0 6.9 e 1.4 a 2 9.2 9.0 8.8 9.2 9.0 8.8 1.7 a 0.2 0.1 0 0.7 0.5 0.3 l x 8 0 c 0.8 e 0.10 y h d h e a 1 b p b 1 c 1 z d z e l 1 terminal cross section b 1 c 1 bp c
r8c/33g group, r8c/ 33h group datasheet c - 1 rev. date description page summary 0.10 jul. 21, 2010 ? f irst edition issued 1.00 jul. 05, 2011 all pages ?preliminary?, ?under development? deleted 3 table 1.2 revised 5 table 1.4 revised 6 table 1.5 ?(d): under development? deleted, figure 1.1 revised 7 table 1.6 ?(d): under development? deleted, figure 1.2 revised 8 figure 1.3 revised 11 table 1.8 revised 16 3.1 revised 26 to 29 table 4.9 to table 4.12 revised 30 table 5.1 revised, note 1 to note 5 added 32 table 5.3 added, figure 5.1 revised 33 table 5.4 revised, note 4 added 35 table 5.7, note 1, note 2 revised, note 8 added 36 table 5.8 revised, note 8 added 37 table 5.9, table 5.10 revised 38 table 5.11 revised 39 table 5.13, table 5.14 revised 40 table 5.16 revised 45 table 5.18 revised, note 1 added 46 table 5.19 added 48 table 5.22 revised 49 table 5.24 revised 50 table 5.25 revised 51 table 5.26 added 53 table 5.29 revised all trademarks and registered trademarks are the property of their respective owners. revision history
general precautions in the handling of mpu/mcu products the following usage notes are applicable to all mpu/mcu products from renesas. for detailed usage notes on the products covered by this manual, refer to the rele vant sections of the manu al. if the descriptions under general precautions in the handling of mpu/mcu products and in the body of the manual differ from each other, the description in the bod y of the manual takes precedence. 1. handling of unused pins handle unused pins in accord with the directi ons given under handling of unused pins in the manual. ? the input pins of cmos products are general ly in the high-impedance state. in operation with an unused pin in the open-circuit state, extra electromagnetic noise is induced in the vicinity of lsi, an associated shoot-through cu rrent flows internally, and malfunctions occur due to the false recognition of the pin state as an input signal become possible. unused pins should be handled as described under handling of unused pins in the manual. 2. processing at power-on the state of the product is undefined at the moment when power is supplied. ? the states of internal circuits in the lsi are indeterminate and the states of register settings and pins are undefined at t he moment when power is supplied. in a finished product where the reset signal is applied to the external reset pin, the states of pins are not guaranteed from the moment when power is supplied until the reset process is completed. in a similar way, the states of pins in a pr oduct that is reset by an on-chip power-on reset function are not guaranteed from the moment when power is supplied until the power reaches the level at which resetting has been specified. 3. prohibition of access to reserved addresses access to reserved addresses is prohibited. ? the reserved addresses are provided for the po ssible future expansion of functions. do not access these addresses; the correct operat ion of lsi is not guaranteed if they are accessed. 4. clock signals after applying a reset, only release the reset line after the operating clock signal has become stable. when switching the clock signal during pr ogram execution, wait until the target clock signal has stabilized. ? when the clock signal is generated with an external resonator (or from an external oscillator) during a reset, ensure that the reset li ne is only released after full stabilization of the clock signal. moreover, when switching to a clock signal produced with an external resonator (or by an external oscillator) while program execution is in progress, wait until the target clock signal is stable. 5. differences between products before changing from one product to another, i.e. to one with a different part number, confirm that the change will not lead to problems. ? the characteristics of mpu/mcu in the same group but having different part numbers may differ because of the differences in internal memory capacity and layout pattern. when changing to products of different part numbe rs, implement a system-evaluation test for each of the products.
notice 1. all information included in this document is current as of the date this document is issued. such information, however, is s ubject to change without any prior notice. before purchasing or using any renesas electronics products listed herein, please confirm the latest product information with a renesas electronics sales office. also , please pay regular and careful attention to additional and different information to be disclosed by renesas electronics such as that disclosed through our website. 2. renesas electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property ri ghts of third parties by or arising from the use of renesas electronics products or technical information described in this document. no license, express, implied or otherwise, is granted hereby under any paten ts, copyrights or other intellectual property rights of renesas electronics or others. 3. you should not alter, modify, copy, or otherwise misappropriate any renesas electronics product, whether in whole or in part . 4. descriptions of circuits, software and other related information in this document are provided only to illustrate the operat ion of semiconductor products and application examples. you are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. renesas electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information. 5. when exporting the products or technology described in this document, you should comply with the applicable export control l aws and regulations and follow the procedures required by such laws and regulations. you should not use renesas electronics products or the technology described in this document for any purpose rela ting to military applications or use by the military, including but not limited to the development of weapons of mass destruction. renesas electronics products and technology may not be used for or incorporate d into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. 6. renesas electronics has used reasonable care in preparing the information included in this document, but renesas electronics does not warrant that such information is error free. renesas electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information incl uded herein. 7. renesas electronics products are classified according to the following three quality grades: "standard", "high quality", an d "specific". the recommended applications for each renesas electronics product depends on the product's quality grade, as indicated below. you must check the quality grade of each renesas electronics produ ct before using it in a particular application. you may not use any renesas electronics product for any application categorized as "specific" without the prior written consent of renesas electronics. fu rther, you may not use any renesas electronics product for any application for which it is not intended without the prior written consent of renesas electronics. renesas electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any renesas electronics product for an application categorized as "specific" or for which the product is not intended wh ere you have failed to obtain the prior written consent of renesas electronics. the quality grade of each renesas electronics product is "standard" unless otherwise expressly specified in a renesas electroni cs data sheets or data books, etc. "standard": computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment ; home electronic appliances; machine tools; personal electronic equipment; and industrial robots. "high quality": transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-crime systems; safety equipment; and medical equipment not specifically designed for life support. "specific": aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or syst ems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct thr eat to human life. 8. you should use the renesas electronics products described in this document within the range specified by renesas electronics , especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. renesas el ectronics shall have no liability for malfunctions or damages arising out of the use of renesas electronics products beyond such specified ranges. 9. although renesas electronics endeavors to improve the quality and reliability of its products, semiconductor products have s pecific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. further, renesas electronics products are not subject to radiation resistance design . please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a renesas electronics produc t, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measu res. because the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you. 10. please contact a renesas electronics sales office for details as to environmental matters such as the environmental compati bility of each renesas electronics product. please use renesas electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, in cluding without limitation, the eu rohs directive. renesas electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations. 11. this document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of renes as electronics. 12. please contact a renesas electronics sales office if you have any questions regarding the information contained in this doc ument or renesas electronics products, or if you have any other inquiries. (note 1) "renesas electronics" as used in this document means renesas electronics corporation and also includes its majority-o wned subsidiaries. (note 2) "renesas electronics product(s)" means any product developed or manufactured by or for renesas electronics. http://www.renesas.com refer to "http://www.renesas.com/" for the latest and detailed information. renesas electronics america inc. 2880 scott boulevard santa clara, ca 95050-2554, u.s.a. tel: +1-408-588-6000, fax: +1-408-588-6130 renesas electronics canada limited 1101 nicholson road, newmarket, ontario l3y 9c3, canada tel: +1-905-898-5441, fax: +1-905-898-3220 renesas electronics europe limited dukes meadow, millboard road, bourne end, buckinghamshire, sl8 5fh, u.k tel: +44-1628-585-100, fax: +44-1628-585-900 renesas electronics europe gmbh arcadiastrasse 10, 40472 dsseldorf, germany tel: +49-211-65030, fax: +49-211-6503-1327 renesas electronics (china) co., ltd. 7th floor, quantum plaza, no.27 zhichunlu haidian district, beijing 100083, p.r.china tel: +86-10-8235-1155, fax: +86-10-8235-7679 renesas electronics (shanghai) co., ltd. unit 204, 205, azia center, no.1233 lujiazui ring rd., pudong district, shanghai 200120, china tel: +86-21-5877-1818, fax: +86-21-6887-7858 / -7898 renesas electronics hong kong limited unit 1601-1613, 16/f., tower 2, grand century place, 193 prince edward road west, mongkok, kowloon, hong kong tel: +852-2886-9318, fax: +852 2886-9022/9044 renesas electronics taiwan co., ltd. 13f, no. 363, fu shing north road, taipei, taiwan tel: +886-2-8175-9600, fax: +886 2-8175-9670 renesas electronics singapore pte. ltd. 1 harbourfront avenue, #06-10, keppel bay tower, singapore 098632 tel: +65-6213-0200, fax: +65-6278-8001 renesas electronics malaysia sdn.bhd. unit 906, block b, menara amcorp, amcorp trade centre, no. 18, jln persiaran barat, 46050 petaling jaya, selangor darul ehsan, malaysia tel: +60-3-7955-9390, fax: +60-3-7955-9510 renesas electronics korea co., ltd. 11f., samik lavied' or bldg., 720-2 yeoksam-dong, kangnam-ku, seoul 135-080, korea tel: +82-2-558-3737, fax: +82-2-558-5141 sales offices ? 2011 renesas electronics corporation. all rights reserved. colophon 1.1


▲Up To Search▲   

 
Price & Availability of R5F21334GJFP11

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X